// /platform/workspace/list
import request from '@/utils/request';

const reportApi = {};

reportApi.list = () => {
	return request({
		url: '/platform-api/workspace/list',
		method: 'get',
	})
}
// /platform/file/list/{workspaceId}/{parentId}
reportApi.filelist = (workspaceId, parentId) => {
	return request({
		url: '/platform-api/file/list/'+ workspaceId + '/' + parentId,
		method: 'get',
	})
}

export default reportApi